package com.upb.webserver.common.pojo.order;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * common properties of new chain
 */
@Data
public class BaseNewChainVO {
    @NotBlank
    private String name;
    @NotNull
    private Byte chainType;
    @NotBlank
    @Length(max = 20)
    private String version;
    @NotBlank
    private String consensusType;
    @NotBlank
    private String storageType;
    private String description;
}